import BookList from "../page/bookList/bookList"
import About from "../page/about/about"
import NotFound from "../page/notFound/404"
import BookDetail from "../page/bookList/detail"

const routes = [
  {
    path: "/",
    element: <BookList />
  },
  {
    path: "/about",
    element: <About />
  },
  {
    path: "/detail",
    element: <BookDetail />
  },
  {
    path: "*",
    element: <NotFound />
  }
]
export default routes
